package com.wwtech.epp.ui.activity.work.contract;

import com.wwtech.epp.entity.TaskList;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;
/**
 * @author hzp
 * @Package The contract for TaskListFragment
 * @Description: $description
 * @date 2017/10/04 11:54:28
 */
public interface TaskListContract {
    interface View extends BaseView<TaskListContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setListData(TaskList taskList);
    }

    interface TaskListContractPresenter extends BasePresenter {
        void getTaskListFromServer(String type, int pageNum, int pageSize);
    }
}